package com.sita.bluetactivity.TripFragment;

import java.util.List;

/**
 * Created by Jason on 2016/10/9.
 */

public class TripBackBean {

    /**
     * errorCode : SUCCESS
     * data : [{"tripId":462687074412137594,"lat":null,"lng":null,"begintime":1473943371000,"endtime":1473945408000,"distance":11211.673828125,"speed":0,"soc":0,"routefile":"462687073808157817.zip","begintimestr":"2016-09-15 13:16:48","endtimestr":null}]
     */

    private String errorCode;
    /**
     * tripId : 462687074412137594
     * lat : null
     * lng : null
     * begintime : 1473943371000
     * endtime : 1473945408000
     * distance : 11211.673828125
     * speed : 0
     * soc : 0
     * routefile : 462687073808157817.zip
     * begintimestr : 2016-09-15 13:16:48
     * endtimestr : null
     */

    private List<DataBean> data;

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private long tripId;
        private Object lat;
        private Object lng;
        private long begintime;
        private long endtime;
        private double distance;
        private int speed;
        private int soc;
        private String routefile;
        private String begintimestr;
        private Object endtimestr;

        public long getTripId() {
            return tripId;
        }

        public void setTripId(long tripId) {
            this.tripId = tripId;
        }

        public Object getLat() {
            return lat;
        }

        public void setLat(Object lat) {
            this.lat = lat;
        }

        public Object getLng() {
            return lng;
        }

        public void setLng(Object lng) {
            this.lng = lng;
        }

        public long getBegintime() {
            return begintime;
        }

        public void setBegintime(long begintime) {
            this.begintime = begintime;
        }

        public long getEndtime() {
            return endtime;
        }

        public void setEndtime(long endtime) {
            this.endtime = endtime;
        }

        public double getDistance() {
            return distance;
        }

        public void setDistance(double distance) {
            this.distance = distance;
        }

        public int getSpeed() {
            return speed;
        }

        public void setSpeed(int speed) {
            this.speed = speed;
        }

        public int getSoc() {
            return soc;
        }

        public void setSoc(int soc) {
            this.soc = soc;
        }

        public String getRoutefile() {
            return routefile;
        }

        public void setRoutefile(String routefile) {
            this.routefile = routefile;
        }

        public String getBegintimestr() {
            return begintimestr;
        }

        public void setBegintimestr(String begintimestr) {
            this.begintimestr = begintimestr;
        }

        public Object getEndtimestr() {
            return endtimestr;
        }

        public void setEndtimestr(Object endtimestr) {
            this.endtimestr = endtimestr;
        }
    }
}
